/**
 * @author Tobias Boehm
 *
 * 01.06.2011
 */
package org.anddev.andengine.extension.tbsengine.match;

import java.util.Set;

import org.anddev.andengine.entity.IEntity;
import org.anddev.andengine.extension.tbsengine.match.gamestate.AbsGlobalGameState;

/**
 * This class represents an action which is an advancement of an {@link Event}.
 * It adds a set of sources which starts the command/action (an attack for
 * example).
 * <p>
 * Notice:<br>
 * This class under construction and may change or even disappear in the future.
 *  
 * @author Tobias Boehm
 *
 */
public class Action extends Event {
	
	/**
	 * A set of sources which do something to or with the {@link #mTargets}.
	 */
	private Set<IEntity> mSources;

	
	/**
	 * The basic constructor for actions which delegates its parameters to the
	 * constructor of its parent class {@link Event}.
	 * 
	 * @param pGlobalGameState
	 * @param pStepID
	 */
	public Action(AbsGlobalGameState pGlobalGameState, int pStepID) {
		super(pGlobalGameState, pStepID);
	}
}
